package com.qn.common.base.model;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;

import java.util.List;
/**
 * qingniu-cloud user source analysis
 *
 * @Author: TXG
 * @Date: 2024/6/11
 * @Version V0.0.2
 */
@Tag(name="返回列表对象")
public class ResponseRows<T> extends ResponseMode {
    public  ResponseRows(){};
    
    public  ResponseRows(Integer code, String msg, List<T> rows){
        setCode(code);
        setMessage(msg);
        setResult(rows);
    }
    /**
     * 多行响应数据
     */
    @Schema(description = "列表对象")
   public List<T> result;

    public List<T> getResult() {
        return result;
    }

    public void setResult(List<T> result) {
        this.result = result;
    }
}
